﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_GetTaskDetail]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_GetTaskDetail];
GO
CREATE PROCEDURE [dbo].[sproc_GetTaskDetail]
    @TaskID int
            

As

 Select  *
    FROM UDS_Task
    WHERE ID=@TaskID